changed BASE_DIR to ROOT_DIR in management command