Make sure composer and artisan run in the right order