added main scripts