work on serve script.