Create remote_functions.sh