moved vars to config and update package.json