Fixed some errors

Somehow a script content was overwritten... And corrected a bug with
shielding