fixing dependency script