Parameters are now being passed around to ensure that the username / password are first read from the environment variables, but can be overridden by command line arguments