updated how to use the script