add optional --days arg to import function to only import posts from last n days