Modify historical funct test to take into account script launch with params