updated script and readme