realpath entry point