bette buildType

remove version option and pass options as scope for call of buildType
function