Fixed default main method