Added a "refresh" option

Allows refresh of code/params without quitting code.