added cleanup commands and doc