@RohitPant-2143 Best place to look is the updated scaling script which is itself in preview
Since the scaling script is itself in preview there might be certain functionalities which may or may not work as expected being the component in preview mode.
You can test the same in your test environment to get better understanding of working of the script .
Note: It is not recommended to test the preview component in Production environment.
Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics