script for creating log dirs