Prepare common instance to execute code inside vendor directory instead of instances.