Added SITE_DIR parameter.