updated script and readme file