Added WAIT_FOR_MOBILE logic
Merge remote-tracking branch 'origin/master'