Autowake added

autowake feature added and PATH variable fixed.