Improved rc-file generation.