Added support for raw_cmd to api
Added support for main page raw cmd