added custom potions support