Port remember tool over to script