Uses pyyaml for header parsing. Moves script to bin/