Removed localStorage, fixed free space generation