* fix relscript to support root_dir
* add deploy script