added version option for build command