Implemented ami drop functionality