change to flexapp template