fixed package.json
fixed test
added download of patches
listen console output only once actually listening