move output to base directory.