Add validation / help to the script and remove the hardcoded references.

Add validation/help and remove hardcoded references.