Resolve linting errors, create logs folder if it doesn't exist