Minor changes to make script "silent"