Moved from prompt driven script to argument driven