fixed script dependancies