Added support to run specs on device