plugin.py: changed randint to choice for readability