Fixing require once bug on example file