clean up main script; group startup scripts; group name scripts