convert InternalFlags class to Sys_Command