added pbs
mail upon job completion
removed unicode from logger