adding bin dir
modified if condition
added ball, text and binding