changed console output to logog commands