updated for live/development server distinction in codebase