Script to prevent jenkins issues
Modifying script to accept command line parameters.