Added SMAP generation script
More improvements to strc and strj with annotations.