Added keep_profile option for flash_pvt.py