This might seem pedantic, but would you mind fixing the whitespace to be at least consistent internally? For shell scripts I don't have a strong preference of tabs vs. spaces, but it should be consistent throughout for readability.