Much better solution worked out to the problem :)
Updated Readme