Fix syntax error in KRL script
Fix getFRIMode