Fix paths so they are page relative