Improved images check tool. Added stage for commit option.