Updated appconf regex for scripts