Make it possible to change quality
Changed the oder of arguments