updated license info in source file & fixed shebangs