adding prefix -x option
renaming HOSTNM to TARGET_HOSTNAME