Fixed export command, added some ls statments. Ticket#102.