Add (old, hacky) detection base code
image detection
merge
remove images