added commands for creating and checking images