Removed init_dependencies
Added global_deps variable