changed command argument handling in src/main/squared.cpp