fixed bug that prevented selection of alternate schema dir
minor cleaning