add nopt as dependency