Added some export functionalities