Resolving "Internal Server Error (500) - path is not a child of currently directory" in TERR Scripts