def get_fn(): """ Returns the correct function call for the environment. """ return run if renv == 'prd' else local