Adding fcgi support & logging to file