Script Change for study tab - added constraints