update to handle shebangs