script for enable disable option at admin page