This works, now the auto exit bug.