changed rootPath from '/' to './'