updated post ncp : getopts