- initial work
- move client id to separate file
- minor correction
- separate tag into separate variable
- check for unique image count
- restore variable for image thershold
- typo fix