fixed mode hooks, moved stuff into local
go back to default python mode
use Smart scan package