improve automatic deployement