Only last step of BP function seems to be executing?