[DF-420] Fixed script for 2d resources