Increased functionality of 'log'.
Added 'power' command to android script.