inital version of the script