Script to automatically close issues