Added auto generation feature based on last modification time