use $HOSTNAME instead of command hostname