minor cleanup
minimized expac call in loop
removed unecessary expac sort for comm (fixed in new expac)

This reverts commit 9c5c37ff47ce9fc505a50a67d4039bc3a14df85a.