diff --git a/.idea/go-iperf.iml b/.idea/go-iperf.iml
index ef55456..e5464d5 100644
--- a/.idea/go-iperf.iml
+++ b/.idea/go-iperf.iml
@@ -6,5 +6,6 @@
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index aee5b40..faf46b6 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -2,20 +2,11 @@
-
-
-
-
+
-
-
-
-
-
-
-
-
-
+
+
+
@@ -30,7 +21,7 @@
-
+
diff --git a/api/Dockerfile b/api/Dockerfile
index 577dd7d..bd0693b 100644
--- a/api/Dockerfile
+++ b/api/Dockerfile
@@ -6,7 +6,7 @@ LABEL maintainer="Benjamin Grewell "
ENV PROTOC_VERSION 3.6.1
ENV PROTOC_GEN_GO_VERSION v1.2.0
-WORKDIR /go/src/github.com/BGrewell/go-iperf/api/proto
+WORKDIR /go/src/github.com/BGrewell/go-iperf/api
RUN apt update
RUN apt install -y protobuf-compiler python3 python3-pip
@@ -15,7 +15,7 @@ RUN pip3 install grpcio-tools
RUN export PATH=$PATH:$GOPATH/bin
RUN echo $PATH
-COPY proto/control.proto control.proto
+COPY proto/control.proto proto/control.proto
RUN mkdir go
-RUN protoc -I /. --go_out=plugins=grpc:go control.proto
+RUN protoc -I proto/. --go_out=plugins=grpc:go control.proto
diff --git a/api/build.sh b/api/build.sh
old mode 100644
new mode 100755
index bd895f7..cf96057
--- a/api/build.sh
+++ b/api/build.sh
@@ -8,14 +8,14 @@ fi
echo "[+] Building docker container"
docker image build -t go-iperf-builder:1.0 .
docker container run --detach --name builder go-iperf-builder:1.0
-docker cp grpc:/go/src/github.com/BGrewell/go-iperf/api/go/api.pb.go go/.
+docker cp builder:/go/src/github.com/BGrewell/go-iperf/api/go/github.com/BGrewell/go-iperf/api/control.pb.go go/.
echo "[+] Updating of go library complete"
echo "[+] Removing docker container"
docker rm builder
echo "[+] Adding new files to source control"
-git add go/api.pb.go
+git add go/control.pb.go
git commit -m "regenerated grpc libraries"
git push
diff --git a/api/proto/control.proto b/api/proto/control.proto
index ff997e3..92da5ea 100644
--- a/api/proto/control.proto
+++ b/api/proto/control.proto
@@ -2,6 +2,8 @@ syntax = "proto3";
import "google/protobuf/empty.proto";
+option go_package = "github.com/BGrewell/go-iperf/api";
+
// [START java_declaration]
option java_multiple_files = true;
option java_package = "com.bengrewell.go-iperf.control";