Made some almost major changes to the variables processor