Importing and using local storage