Support for a cron-triggered synchronization server script
Remove unused imports
Small edge case
Forgot hardcoded custom type id