aff basic.sh script