Update toggle_udf.sh

Fixed BASE_DIR variable.