fine tuning and clean the dist folder when deploying