ExtractScript: Let's write the first extract scripts

From CM

Change-Id: I670094197b0908befb62244e8dcde86901ffa471