refine start script