split init script into categories