initial version of script