added script for for element.
merge files.
updated with separate element script.