modified the alternative scripts