adding demo and lc_only flag