Configuration properties re-arranged; Fixed output file encode problem