updating clean command to follow new structure