Adds shebang and flags