got cgi working finally