add atom support
add option --local to build command