Added capability to pass arguments to script