Merge with EG-specific modifications

Changes made to support EG, namely:
- prerelease flag
- EG-specific config file
Also, perltidy was applied to make commits clearer