promise improvments
build tweaks