Fixed typo with '.om' -> '.com'
Converted print statements to logs