made script generate a hidden file