added scp function to copy files to the first node