change @mod to use version variable instead of hardcoded