make var/run and var/log in main in case they do not exist