add receive and send scripts