add reload dir and script
remove old rebuild fix code style