rearrange script dir and tool