moving static and templates