@hybotics add a set -x just below the #!/bin/bash and run it again, see what line it's bombing on.
// @matigo
Searching