more tweaks to make build process more efficient and fixed issue with supervisor run command