Use compat in catnap script