Changed handling run function as global