generator script run on linux