Made script PEP8 ready
Fixed tab/space confusion
Individual output format can now be set