Added resource directories to generic template