set output name and path