add rebuild tag script and create php internal function list file