fixing dependency scripts