add build scripts
add example
add ifelse