Added hostall function to local example.