add mb functions
process absolute path
add single build for dir
do not use esprima