Add shebangs and remove .sh extensions
Improve bash string escaping