added getstatus script