Add option to get temppath from properties file