small changes in complex script view controller