reverse directory hierarchy for shell scripts

also, add missing license headers
diff --git a/bin/publish-container/ubuntu-14.04-erlang-18.sh b/bin/publish-container/ubuntu-14.04-erlang-18.sh
deleted file mode 100755
index 9c7a917..0000000
--- a/bin/publish-container/ubuntu-14.04-erlang-18.sh
+++ /dev/null
@@ -1 +0,0 @@
-docker push basti1302/couchdb-build-ubuntu-14.04-erlang-18.2
diff --git a/bin/publish-container/ubuntu-14.04-erlang-default.sh b/bin/publish-container/ubuntu-14.04-erlang-default.sh
deleted file mode 100755
index 8aaa9b8..0000000
--- a/bin/publish-container/ubuntu-14.04-erlang-default.sh
+++ /dev/null
@@ -1 +0,0 @@
-docker push basti1302/couchdb-build-ubuntu-14.04-erlang-default
diff --git a/bin/create-docker-container/ubuntu-14.04-erlang-18.sh b/bin/ubuntu-14.04-erlang-18/create-container.sh
similarity index 100%
rename from bin/create-docker-container/ubuntu-14.04-erlang-18.sh
rename to bin/ubuntu-14.04-erlang-18/create-container.sh
diff --git a/bin/enter-container/ubuntu-14.04-erlang-18 b/bin/ubuntu-14.04-erlang-18/enter-container.sh
similarity index 100%
rename from bin/enter-container/ubuntu-14.04-erlang-18
rename to bin/ubuntu-14.04-erlang-18/enter-container.sh
diff --git a/bin/ubuntu-14.04-erlang-18/publish-container.sh b/bin/ubuntu-14.04-erlang-18/publish-container.sh
new file mode 100755
index 0000000..db204b4
--- /dev/null
+++ b/bin/ubuntu-14.04-erlang-18/publish-container.sh
@@ -0,0 +1,20 @@
+#!/usr/bin/env bash
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+#   Unless required by applicable law or agreed to in writing,
+#   software distributed under the License is distributed on an
+#   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#   KIND, either express or implied.  See the License for the
+#   specific language governing permissions and limitations
+#   under the License.
+
+docker push basti1302/couchdb-build-ubuntu-14.04-erlang-18.2
diff --git a/bin/run-build-in-container/ubuntu-14.04-erlang-18 b/bin/ubuntu-14.04-erlang-18/run-build-in-container.sh
similarity index 100%
rename from bin/run-build-in-container/ubuntu-14.04-erlang-18
rename to bin/ubuntu-14.04-erlang-18/run-build-in-container.sh
diff --git a/bin/create-docker-container/ubuntu-14.04-erlang-default.sh b/bin/ubuntu-14.04-erlang-default/create-container.sh
similarity index 100%
rename from bin/create-docker-container/ubuntu-14.04-erlang-default.sh
rename to bin/ubuntu-14.04-erlang-default/create-container.sh
diff --git a/bin/enter-container/ubuntu-14.04-erlang-default b/bin/ubuntu-14.04-erlang-default/enter-container.sh
similarity index 100%
rename from bin/enter-container/ubuntu-14.04-erlang-default
rename to bin/ubuntu-14.04-erlang-default/enter-container.sh
diff --git a/bin/ubuntu-14.04-erlang-default/publish-container.sh b/bin/ubuntu-14.04-erlang-default/publish-container.sh
new file mode 100755
index 0000000..ec896cf
--- /dev/null
+++ b/bin/ubuntu-14.04-erlang-default/publish-container.sh
@@ -0,0 +1,20 @@
+#!/usr/bin/env bash
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+#   Unless required by applicable law or agreed to in writing,
+#   software distributed under the License is distributed on an
+#   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#   KIND, either express or implied.  See the License for the
+#   specific language governing permissions and limitations
+#   under the License.
+
+docker push basti1302/couchdb-build-ubuntu-14.04-erlang-default
diff --git a/bin/run-build-in-container/ubuntu-14.04-erlang-default b/bin/ubuntu-14.04-erlang-default/run-build-in-container.sh
similarity index 100%
rename from bin/run-build-in-container/ubuntu-14.04-erlang-default
rename to bin/ubuntu-14.04-erlang-default/run-build-in-container.sh