installation checks, cleanup