Use shell script for remote execution