Modify last_id storage so the user's home is used instead of cwd