fix services and console script