Fixed missing argument and added some which commands so scripts can be called via puppet