Rework eye_app definition