Use getops to handle user parameters