Added support for query command
Added support for since command