add execute premission to scheduler script
fix bug