make script work