Correct chain loading of plugins