added one more script argument - contract
fixed loading contracts that have been requested in arguments