changed image magick edits to a single command