check program options;