Fixing Python directory in start hook