specified output directory and works on single page site