put pupil plane functionality into config
(#601)