Fixed console script