adding some print statements to check if it is working on server