Quoting passwords in the exec to prevent syntax errors when passwords with special characters are used