Adapt program to real coordinates, software orientation