update to runprogram