SAWE.php

Cleaned up code.