Change path to package.json
Escape placeholder
Refactor main script
Add deps