add proto dir and script