broke out plugin into standalone file