Script to use with nautilus