making sure app  dependencies are last