Some fixes

Make interpolation work
Fix getting variables