add xpi generation scripts.