aws control ruby script base