added initial version of script