Add versioning and change error printing