Merge pull request #38 from stdweird/passthroughoptionparser

import passthroughoptionparser code from submitfilter