Updated to support any 4.0.x laravel revision