promote.ls function

Private function for determining model dependencies