Clean up environment nbook