Replace jq by $, fix missing semicolons