fix dependencies script