Fixed a few errors with exported variables