fix applications that are not in directory in the root
fix print statement for python3
fix python3 print statements