fixed BEL_PATHS in small corpus configuration
introduced 3-clean-work.sh; fixes in functions.sh