save file size
add DuplicationError
handle DuplicationError
add scripts block