Passed instance ID from main to CNN