Make png with preview
Fix of arguments parsing