Got app server working again with require