use the new version of JSS and refactor the necessary code parts
do persisted changes only if the shell is NOT in record mode (the shell
goes into the record mode when the user enter a loop)
use the right constructor