add $target to mkdir
add missing file
make beta