put phtml files in correct subdirectory