script to take properties as argument