Add generic layer extraction tool to extract script.