Applying the necessary patches is now done in shell script.