added group id and experimental directory cleaning option