added export option
bug fixes