Fixing up the dependencies script