cleanup and Comanchification of mod_profile