added simulated input fucntion, saving before reconfiguring