Check for script earlier.

Also drop the hard tabs