updated to actually use your quality settings