Fix argument handling and recursive shebangs