Needless to say, when it's kluged together like this, there were a lot of trials and tribulations getting this working.
Desnecessário dizer que com algo enjambrado dessa forma, houve muitas tentativas e atribulações para fazê-lo funcionar.