Fix properties file configuration loading & add options for output file

generation