add makepot support