Changes to project
Fixed log command so it works for numerical arguments and gives better errors