prepare for live server