OS X Finder stores data about the size, type, position, background image, and icon layout (by directory) in a hidden .DS_Store file. If you follow the general idea from another question, you should then copy the .DS_Store file from the resulting disk image to the new images created when the script was deployed.
rspeed
source share