added realpath as dependency