change hash bang to be more flexible