Added that the first argument is the purchase code. If missing, the script prompts of the input