method renaming
added main script to redis