Attempt to fix deployment. Added includes to .config files and changed post build step to pre build, to copy config files from templates if missing.