correctly waiting on image magick to do it's thing before adding to media collection