Static function executes, but does not process standard input correctly nor prints trace statements.