Scripts fixed to be compatible with the new nip_simulate_activity function