Using do_take_picture() function in commands_logic.pde