Added missing code in programmer upload