Updated stock plugin to use requests