Getting these functions to work on my Linux server too.