fixing the bug for scripts : including other regions