add --memorialdir option for mapsharing and fix hardcoded memorial path