add statis and template settings