adding scripts for astar