style fix
fix shebang + add input parsing