manage_site define cleanup, fixed typos, error in test. Corrected manage_site require