fixed callbacks files and added check job status logic in sample19