make app server setup more proper