Updated extract-files.sh script to conform with new system.