thanks for that mRAza , people may find it easier to use a bash script