Fixed 'remote_*.sh' scripts