Implemented functions to execute dependencies and no_dependencies