Updated ctx_view to use getopt_long(), changes flags