Added require statements so hopefully temporarily fixed