Replace jq by $
Add missing semicolons