fixed coapp scripts.