move show hide script to bottom