new ddic script: lc options instead of gp; gradient update; debug mode; applyPhi nicely for pixel search