add node config
migrate db build script
more smooth deployment