check for variables before and after commands
io needs to be imported for api reasons
change priority of command checker to 2

this way variables can be substituted at 1
take out the format keyword for persistentdict