Rewrited run_cmd + some tests.
Changed setting of default task.