Added validation to BLCR signatures
Fixed string parsing bug in magic.py
Minor shebang signature changes