sync with pelican scripts