Remove unnecessary sleeps
Change keygen to match preloaded data