Hello,
actually I think, that entries like:
$alpha shells
a 1-5 ( 1 )
$beta shells
a 1-5 ( 1 )
should look the same before and after the optimization.
If you change the basis set with define and get a different occupation, then you
could set them by hand to the values, that you need.
Best,
Arnim