part 2 of fixing shebang