Added system state with READONLY variable and HQL SET command