added 'archive_flag=0' to retrive only production data