add remote hook