* Added module: utils.py

* Refactor code and simplify usage of subprocess.check_call