Fixed typo that prevented check from depending on . Made print statements more robust by preventing strings from begin interpreted as arguments.