Bug: Couldn't capture icons when running from a scheduled task, fixed by setting working directory for scheduled task
Added logging