Lookup python off env
Added argument for specifying category