Ignore bin again
Ignore npm log file
Make scripts work with old versions of bash used by OS X