Set script name properly.