write to homedir instead