script per imap folder