Revert subprocess to commands with call method COMMANDS. Invalid on python 3 but only imports if asked for.