Replace realpath with readlink
Readlink has the same syntax and is more common.
Use
readlink -f
To upload designs, you'll need to enable LFS and have an admin enable hashed storage.
More information