Added options to filtering script