indentation cleanup
switch to re to test if mode is 'master'
Merge pull request #8 from PivitPtyLtd/codecleanup

indentation cleanup