Adding Log retention script