Electric Imp Agent code added