Added config and options to main.c