Moved code to use scp