Removed obsolete configurations and change output directory and file name.