Fixed constant column bug in script