Added /usr/bin/env in order to make it executable from the shell
Added copy-paste lib and changed index.js accordingly