Escaped backticks to prevent premature filling of var.
Fixed script name and parameter passing issues.