I tried your suggestions and it seems to be working ok so far. Thank you for your replies.