updates to details shell script and sql; UI tweaks for mugshots