add imgdir2.sh script