added options to main.cpp