Modified version of scripts