Cleanup of startup