Added a dependency system for scripts