changed the program so it won't pause on no paramaters