correcting location of static an templates folder