changed to use zip, added allow_origin key to config