add shebang and set exec flag