updated readme and added main script