initial generator script