Added permission checking, upped version to 0.0.1