Implemented the levelexport.