Update root directory for frontend env using install_dir variable

instead of plain path.