fixed the imagemin and php and html copying to generated folders