fix code signing, color checking, other misc for export