upped version number to 0.3.1 since there is new functionality beyond 0.3