cannot make function to read command.cgi