switch scp method to an extern custom library goscplib