Fix for ip address
Fix number 2
Added action hooks
Edited bash deploy script