Fixed plugin to work with st3