Adding functions file to index