Added proper positioning for getting temps and vars