Currently, script param is used to denote the input location based on the following syntax:
#http://... - Data is read from the URL specified.
^attachment - Data is read from an attachment to the current page.
page^attachment - Data is read from an attachment to the page name provided.
spaceage^attachment - Data is read from an attachment to the page name provided in the space indicated.
The script param should be refactored such that the input is more intuitive and user friendly by allowing the user to provide the attachment name as an autocomplete feature along with ability to specify the relevant space and page to which the attachment belongs to