made server more portable