Added system properties

Parametriased the script by adding system properties.