remove useless code from sample script