ascript: Set DIR to default value.

This commit sets DIR to default value if not configured.

Signed-off-by: Yeqiao Wang <ee07b291@gmail.com>