Added dist folder and save method