Added extra validation of arguments for configure command