changed copy-output syntax from expect to sh