Viper functions will now capture the globals at the point they were defined and use these globals when executing.