script for clear amms logs