added scp support to session class