realpath didn't work so trying abspath