file path fix.  with tilda ~ it should work anywhere we use this