Added image processing actgion and loop