Don't hard-code ruby location in shebang.

Also, use str2bool to make sure a couple of variables are boolean