some work on the dependency script