make exercises work locally and in production