Fixed prefix and new edits to prefix plugin