Edit server file for deployment