first version of script
better scipt,adding printing