Added submitToRemote and formRemote samples