Removed $ that prevented debug output from being printed.