fixing init script for python 2.6