licensefile fix; localfolder determination change.