changed default script behavior