added main script to start from