added usage, gets info then  writes to ~/usage.txt