Moved rpc to door switch