fixes for shell_exec and updated highlighting for non-active systems