fixed types, updated version string
switched to string.format instead of '%' notation