Only write in temp directories to avoid permission problems
Add LICENSE and README