removed the usage of all packagejson calls