New script with pseudo code