change to mogrify and support options 20130804
update gitignore