stabledot=$(echo $stable | sed -e s,-,.,g)
for dir in $(ls -d $stable/*[24]) ; do
base=$(echo $dir | sed -e s,$stable,,g -e s,$stabledot,,g -e s,/sfa--,,g)
stabledot=$(echo $stable | sed -e s,-,.,g)
for dir in $(ls -d $stable/*[24]) ; do
base=$(echo $dir | sed -e s,$stable,,g -e s,$stabledot,,g -e s,/sfa--,,g)