changed script for bitwall