added scp method for integration with gradle plugin