add properties file if it doesnt exist, fix some hcikups