Add code to copy files and resize images