fixed Autowake

fix autowake feature by adding '. $CONFIG_FILE'