Adding configuration logic to calculate app version, removing needless headers