Removed most console.log
Debian logic implemented. Addresses #2.