Fix script order for build artifacts