Adapted Arjun's param code to work with hillclimb