Refactor configuration file for deployment