fixes script call