Updated with proper indentation.

The code is the same, The indentation has just been updated to be consistent with the current layout.
Merge pull request #32 from scriptmunkee/patch-3

Updated with proper indentation.