fixed script dependencies