rewrote all of quotes commands because array shims just werent good enough [#331]