Removed debugging exit() command