Added config file programdir argument