Reverted details script....not working properly.