added ks section as command line input in nb