added ability to issue a custom command via script