uses ~/dir instead of /home/jharvard/dir in scripts