Fix order of plugin initialiation fixes #124