Adding hacky parameters to the demo functions for more control.