change demo to directory