Starkville pulls out win at end