Made changes to logic runner. Added some other functionality.