db scripts added, log format corrected