modify socket file on production