Remove shebang, code tidy, as per @jlee-r7's gripes