fix arg index errors + save config after change
add todos