updated gamemod example to work with python mode