Clean up code and hoist vars