Converting Object Repository Based scripts to Descriptive Programming