made the script work.