special scripts needed before you connect the phne in diag mode