added EMBED_CLOCKWORK so users can embed clockwork scheduling inside another process