cut points on the script

Basically try to reduce the cut-points on the code! sorry for the bad english @_@