Replaced scp with ssh to allow for file concatenation