Script modifications