modify script and add property files