added function loader for linux