Created script for categorising images by month.