You can also use a biscuit maker, that is usually more resistant than the piping bag and it is equipped with nozzles of different sizes and types with which you can have fun churning out cookies of the most different shapes.