improving script format