Delete saved-flags in any case
Remove print statement
Save version when copying image elements
Remove unneeded request attributes