Got plugin working on a more serious project