modifies flash build process