Minor changes to dependencies script