Use global variables
add redshift as external class