Changed so that script creates file in current directory.