fixed shell commands in main.cpp