Implemented very simple, generalized PL relation script