added script to extract and merge pots on global scale