implement init file and command line options