using subprocess instead of os.system
added pyyaml to requirements.txt
added double spacing in edit for easier readability