Dynamic code for got setup