updated resource scripts