add erb processing during boot to pick up assigned port other env vars