diff --git a/app/bootstrap.php b/app/bootstrap.php
index <HASH>..<HASH> 100644
--- a/app/bootstrap.php
+++ b/app/bootstrap.php
@@ -1,5 +1,10 @@
 <?php
 
-require __DIR__.'/../vendor/autoload.php';
+if( file_exists(__DIR__.'/../vendor/autoload.php') ) {
+	require __DIR__.'/../vendor/autoload.php';
+} else {
+	// inside vendor directory. app -> rancherize -> vendor
+	require __DIR__.'/../../../autoload.php';
+}
 require __DIR__.'/container.php';
autoloading from within the vendor directory