init allegro automatically