Added build, version replace and upload