added in locales and set stderr/out logging in supervisor