#2 Added look up tables and made plugin work