Tested and updated to mod API version 5