using 1.5.1 to evade memory leak
moving curr time
using ec2 macro and implementing wait for status