move to spawn from execfile