tasf.sh: optimized, help added