Use a trigger for the online script