made sure saj and scp handle stdin