Implemented a simple script retrieving relationships