script args fix and argument quoting documentation

Add fix for script args not having options quoted, and spaces in args not being preserved
Add documentation for quoting and escaping