now using run_command from module to run stuff instead of subprocess