Fix typo in package.json
Clean up code and fix clone cleanup