cleaned up hoogerwerf script