adding scritpt

first version of script