Included all the functions to make the gallery link with the new files