Added proper exit from seedling