use env[:static] instead of root()