Correct script creating