rearranged include and added conditional for installing craft