Adding retry script