added logfile directory
updated start script to be full featured