Export ics revised (solves #10)

Revised with suggested changes to #11(closed now)