swapped order of build command steps