Set source directory during init time.