added comments and imagemagick module