How about send commands via Serial or loading a script from SD card to execute on Arduino?