make slug deprecation & regeneration work
some throwaway scripts I will regret committing