rewrote front controller config