Created xcheck script