use director.js, add agignore