Template bash script