add shebang to bin script
fix error when setting headers
add bin script to package file so cli script gets installed