changes file permissions for tgm
adds image widget