add the postback test
consolidate
simplify download
fix imports