added ctrl-C / ctrl-Q for quit and ctrl-R for reloading scripts