add standalone mode