Bug Fix

1. update script for finish build
2. fix trace info when finish build