Small improvements

Modified imgareaselect script and added ID for resources