bash scripts that automates the shadows generation