Cleanup main