move flag to separated subdirectory