Default directory is now set by Dir.home rather than hardcoded.