Added generation of env file on Unix and startup batch file on Windows. Thanks to Brian Davis for the contribution.