Added weinre and console debugging