updated preparing script to include check on whether the config file is already patched for Android