changes to get icons so filepath is no longer hard coded