mod: add restrict to make sure only one instance is running