Add bash script
Problem with signal
Fix template