Updated how the version is output, from hardcoded to read from package.json.