added scripts to reduce all 3,5 layer models