When the green bar is showing, thats when you connect the phone (while holding C button). Do not connect the phone before after you have pressed the write script button, and the green loading bars apear.