Fix: Refactor conditional statement for TARGET_ENV comparison
Changed the conditional statement from using single brackets and == operator to double brackets and = operator for improved compatibility and correctness when comparing values of TARGET_ENV. This change ensures that the comparison works as expected for both "staging" and "production" values.