bin: parameterize and proper quoting