Added ability to pass prefix as an argument when calling script.