Temporary solution to handle programs