updates to gamma scripts