Requote right side of '==' in '[[' to prevent potential error

See: http://mywiki.wooledge.org/BashPitfalls#if_.5B.5B_.24foo_.3D_.24bar_.5D.5D_.28depending_on_intent.29
Add copyright notice to all scripts, closes #24, update copyright date