added some functions for linux servers