I am not certain what the issue is, but there definitely seem to be some issues with the " & } in the actionscript.
wait chmod +x "{pathname of client folder of current site}/__Download/install.sh"
wait /bin/sh -c "{pathname of client folder of current site}/__Download/install.sh" -i