Revert "Fixing scripts"

This reverts commit d677cc991293113cdeb7de4d997cd1333e6cb8e7.