add loadimagescommand