scpFrom method tested, logging added replacing sout