Changing the images based on commands.