fixing absolute links to images, excluding macos files from deploy