convert string to lowercase when checking shebang