make the script executable without installation

redirected from #3. See if the modified behaviour is intended.