Fixing exits... Works now.