Changed ruby script container policy, as it was causing latency and huge memory consumption.